package com.superbytecode.stencil.entities;

import lombok.Data;

/**
 * All rights Reserved, Designed By www.super-master.com
 *
 * @ProjectName: code-stencil
 * @Package: com.superbytecode.stencil.structure
 * @ClassName: DatasourceContext
 * @Description: [数据源配置上线文]
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2024/10/12 14:36
 * @Version: V1.0
 * @Copyright: 2024 www.super-master.cn Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
@Data
public class DatasourceContext {
    /**
     * 数据库种类
     */
    private String category;
    /**
     * 数据库版本
     */
    private String categoryLTS;
    /**
     * 认证信息：jdbc/登录名和密码
     */
    private ConnectionObj connection;
    /**
     * 包名
     */
    private String packageName;
    /**
     * 约束表
     * <p>为空-约定数据库下全部的表</p>
     */
    private String[] schTableNames = {};
    /**
     * 删除前缀
     **/
    private String prefix;
}